<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="../libs/mui/mui.js"></script>
    <link rel="stylesheet" type="text/css" href="../libs/mui/mui.css"/>
    <script type="text/javascript" charset="UTF-8">
    mui.init();
mui.plusReady(function() {
	savePicture();
})

function savePicture() {
	var url = '_www/doc/a.jpg';
	var path = plus.io.convertLocalFileSystemURL(url);
	console.log(path);

	plus.gallery.save('_www/doc/a.jpg', function() {
		plus.nativeUI.toast('保存成功');
	}, function() {
		plus.nativeUI.toast('保存失败2');
	})
}</script>
</head>
<body>
</body>
</html>